package com.bw.eureka.jpa.service;


import com.bw.common.dto.LogDto;
import com.bw.common.vo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author qpxbo
 */
@FeignClient(value = "EUREKA-MONGODB",fallbackFactory = LogServiceFactory.class)
public interface LogService {
    /**
     * 保存日志
     * @param logDto
     * @return
     */
    @RequestMapping("/log/save")
    public ResultVO saveLog(@RequestBody LogDto logDto);
}
